﻿using MRSite.AutoMapper.Attributes;
using MRSite.Entity;
using ProtoBuf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MRSite.EntityDto
{
    [AutoMapBoth(typeof(UpgradeLog))]
    [ProtoContract]
    public class UpgradeLogDto
    {
        [ProtoMember(1)]
        public int id { get; set; }

        [ProtoMember(2)]
        public int user_id { get; set; }

        [ProtoMember(3)]
        public int oldlevelid { get; set; }

        [ProtoMember(4)]
        public String oldlevelname { get; set; }

        [ProtoMember(5)]
        public int newlevelid { get; set; }

        [ProtoMember(6)]
        public String newlevelname { get; set; }

        [ProtoMember(7)]
        public Decimal amount { get; set; }

        [ProtoMember(8)]
        public DateTime addtime { get; set; }

        [ProtoMember(9)]
        public int status { get; set; }

        [ProtoMember(10)]
        public DateTime? checktime { get; set; }

        [ProtoMember(11)]
        public String contents { get; set; }

        [ProtoMember(12)]
        public int sjtype { get; set; }

        [ProtoMember(13)]
        public String remark { get; set; }

        [ProtoMember(14)]
        public CustomerDto CustomerItem{get;set;}

    }
}
